package com.project.bean;

import java.util.List;

public class RoomBean {
    /**房间编号*/
    private int roomId;
    /**房间住址*/
    private String address;
    /**可住人数*/
    private  int canInPeople;
    /**已组人数*/
    private  int livePeople;
    /**房间状态*/
    private String status ="正常";
    /**房间类型*/
    private  String type;
    /**学生集合*/
    private List<StudentBean> studentList = null;

    public RoomBean() {
    }

    public RoomBean(String address, int canInPeople, String type) {
        this.address = address;
        this.canInPeople = canInPeople;
        this.type = type;
    }

    public RoomBean(String address) {
        this.address = address;
    }

    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCanInPeople() {
        return canInPeople;
    }

    public void setCanInPeople(int canInPeople) {
        this.canInPeople = canInPeople;
    }

    public int getLivePeople() {
        return livePeople;
    }

    public void setLivePeople(int livePeople) {
        this.livePeople = livePeople;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<StudentBean> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<StudentBean> studentList) {
        this.studentList = studentList;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "roomId=" + roomId +
                ", address='" + address + '\'' +
                ", canInPeople=" + canInPeople +
                ", status='" + status + '\'' +
                "}\n";
    }
}
